package com.zmht.specedu.frame.util;

public abstract class StringUtils {
	@SuppressWarnings("unchecked")
	public static String getClassFullName(Class clazz){
		return clazz==null?null:clazz.getPackage()+"/"+clazz.getName();
	}
	public static boolean isEmpty(String arg){
		return arg==null || arg.equals("");
	}
	public static boolean isNotEmpty(String arg){
		return !isEmpty(arg);
	}
	public static boolean equals(String arg1,String arg2){
		if(arg1==null && arg2 ==null) return true;
		if(arg1==null && arg2!=null) return false;
		if(arg1!=null && arg2 == null) return false;
		
		return arg1.equals(arg2);
	}
	public static void main(String[] arg){
		System.out.print(isEmpty(null));
	}
}
